﻿#ifndef RESIZEWINDOWEVENTFILTER_H
#define RESIZEWINDOWEVENTFILTER_H
#include "EventFilter.h"
#include<QResizeEvent>
//窗口大小改变事件过滤器
class ResizeWindowEventFilter :public EventFilter
{
public:
	ResizeWindowEventFilter(std::function<bool(QResizeEvent*)> fun, QObject* parent = nullptr);
private:
	std::function<bool(QResizeEvent*)> m_fun;
};
#endif 